<%--
  Created by IntelliJ IDEA.
  User: fengs
  Date: 2019/11/16
  Time: 12:15
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
</body>
<script src="../assets/jquery.min.js"></script>
<script type="text/javascript">
    window.onload = function(){
        alert("上传成功");
        $.ajax({
            url:"http://localhost:8080/writedatabase",
            type:"post",
            data:{},
            dataType:"text",
            success:function(data){
                window.location.href ='http://localhost:8080/views/医生排班表.jsp';
            },
            error:function(data){
                alert("Error");
            }
        });
    }
</script>
</html>
